
//首页数据
export const getHomeCategory = ({axios}) => {
    return axios.get('./JSON/home/homeCategory.json')
}
export const getHome = ({axios}) => {
    return axios.get('./JSON/home/home.json')
}

//详情页
export const getGoodsDetail = ({axios},id) => {
    return axios.get(`./JSON/home/goodsDetail${id}.json`)
}

//详情页米粉点评
export const getGoodsDetailFansComment = ({axios},id) => {
    return axios.get(`./JSON/home/buyShow${id}.json`)
}

//搜索
export const getSearch = ({axios},keywords) => {
    return axios.get(`./JSON/home/searchData${keywords}.json`)
}